package com.ruoyi.merchant.service.impl;

import java.util.List;

import com.ruoyi.merchant.dto.AbilityassessmentDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.merchant.mapper.AbilityassessmentBaseMapper;
import com.ruoyi.merchant.domain.AbilityassessmentBase;
import com.ruoyi.merchant.service.IAbilityassessmentBaseService;

/**
 * 能力评估-基础信息 Service业务层处理
 * 
 * @author chengxin.ju
 * @date 2023-12-24
 */
@Service
public class AbilityassessmentBaseServiceImpl implements IAbilityassessmentBaseService 
{
    @Autowired
    private AbilityassessmentBaseMapper abilityassessmentBaseMapper;

    /**
     * 查询能力评估-基础信息 
     * 
     * @param ID 能力评估-基础信息 主键
     * @return 能力评估-基础信息 
     */
    @Override
    public AbilityassessmentBase selectAbilityassessmentBaseByID(String ID)
    {
        return abilityassessmentBaseMapper.selectAbilityassessmentBaseByID(ID);
    }

    /**
     * 查询能力评估-基础信息 列表
     * 
     * @param abilityassessmentBase 能力评估-基础信息 
     * @return 能力评估-基础信息 
     */
    @Override
    public List<AbilityassessmentBase> selectAbilityassessmentBaseList(AbilityassessmentBase abilityassessmentBase)
    {
        return abilityassessmentBaseMapper.selectAbilityassessmentBaseList(abilityassessmentBase);
    }

    /**
     * 新增能力评估-基础信息 
     * 
     * @param abilityassessmentBase 能力评估-基础信息 
     * @return 结果
     */
    @Override
    public int insertAbilityassessmentBase(AbilityassessmentBase abilityassessmentBase)
    {
        return abilityassessmentBaseMapper.insertAbilityassessmentBase(abilityassessmentBase);
    }

    /**
     * 修改能力评估-基础信息 
     * 
     * @param abilityassessmentBase 能力评估-基础信息 
     * @return 结果
     */
    @Override
    public int updateAbilityassessmentBase(AbilityassessmentBase abilityassessmentBase)
    {
        return abilityassessmentBaseMapper.updateAbilityassessmentBase(abilityassessmentBase);
    }

    /**
     * 批量删除能力评估-基础信息 
     * 
     * @param IDs 需要删除的能力评估-基础信息 主键
     * @return 结果
     */
    @Override
    public int deleteAbilityassessmentBaseByIDs(String[] IDs)
    {
        return abilityassessmentBaseMapper.deleteAbilityassessmentBaseByIDs(IDs);
    }

    /**
     * 删除能力评估-基础信息 信息
     * 
     * @param ID 能力评估-基础信息 主键
     * @return 结果
     */
    @Override
    public int deleteAbilityassessmentBaseByID(String ID)
    {
        return abilityassessmentBaseMapper.deleteAbilityassessmentBaseByID(ID);
    }

    @Override
    public List<AbilityassessmentBase> listAssessment(AbilityassessmentDto abilityassessmentDto) {
        return abilityassessmentBaseMapper.listAssessment(abilityassessmentDto);
    }


}
